#include<iostream>
#include<cstdio>
#include<string>

using namespace std;
string a;

void js(int x,int y,char f)
{
	switch(f)
	{
		case '+':cout<<x+y;break;
		case '-':cout<<x-y;break;
		case '*':cout<<x*y;break;
		case '/':cout<<x/y;break;
		case '%':cout<<x%y;break;
	}
}
int main()
{
	std::getline(cin, a);
	int len=a.length();
	int b[5],j=0,x,y;
	char f;
	for(int i=0;i<len;i++)
	{
		if(a[i]>='0'&&a[i]<='9')b[j++]=a[i]-'0';
		else if (a[i]!=' ')f=a[i];
	}
	x=b[0]*10+b[1];
	y=b[2]*10+b[3];
	js(x,y,f);
	return 0;
}
